<template lang="html">
  <div class="">
    <h1>新闻详情 --- {{$route.params.id}}</h1>

    <comment-box></comment-box>
  </div>
</template>

<script>
import comment from '../subcomponents/comment.vue'
export default {
  data(){
    return {
      id: this.$route.params.id
    }
  },
  components: {
    'comment-box':comment
  }
}
</script>

<style lang="css">
</style>
